package cn.lutu.protocol.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("t_route")
public class Route {
    private Long id;
    private String name;
    private String details;
    private LocalDateTime date;
    private Integer days;
    private String notice;
    private String brief;
    private String keywords;
    private Double price;
    private String imgUrl;
    private String categoryId;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
